Skip to content

Conversation

@martijnvg
Copy link
Member

@martijnvg martijnvg commented Aug 4, 2025

Fork Lucene90BlockTreeTermsReader and friends in order to avoid loading large minTerm and maxTerm into jvm heap.

The forked version would only be used by ES812PostingsFormat, which is only used for tsdb and logsdb. This is because this code is already pegged to Lucene90BlockTreeTermsReader. For other index modes, it depends on Lucene defaults (which is Lucene101PostingsFormat today) and if that gets changed then that can complicate a Lucene upgrade significantly.

@martijnvg martijnvg force-pushed the fork_Lucene90BlockTreeTermsReader branch from 0aede54 to a6f48f9 Compare August 4, 2025 14:37
@martijnvg martijnvg force-pushed the fork_Lucene90BlockTreeTermsReader branch from a6f48f9 to f1fc12f Compare August 4, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants